package com.xqy.thread;

public class TestLambda {
    public static void main(String[] args) {
        String target ="丹丹";
        Love love;
        love=(t1)->{
            System.out.println("我爱"+t1);
        };
        love=t1->{
            System.out.println("我爱"+t1);
        };
        love=t1->System.out.println("我爱"+t1);
      ;
        love.love(target);
    }

}
interface   Love{
    public void love(String targer);
}
